Carbon


PBGetVolumeInfoAsync

Header: Files.h Carbon status: Supported

Returns information about a volume as a whole.

void PBGetVolumeInfoAsync (
    FSVolumeInfoParam *paramBlock
);
paramBlock

A pointer to a parameter block

DISCUSSION

The relevant fields of the parameter block are:

You can specify a particular volume or index through the list of mounted volumes. To get information on a particular volume, set volume to the desired FSVolumeRefNum and set volumeIndex to zero. To index through the list of mounted volumes, set volume to kFSInvalidVolumeRefNum and set volumeIndex to the index (starting at 1).

To get information about the root directory of a volume, you can use FSGetCatalogInfo.

AVAILABILITY

Supported in Carbon. Available in Mac OS 9, and later when Carbon 1.0.2 or later is present.


© 2000 Apple Computer, Inc. — (Last Updated 5/8/2000)